package com.cloudlead.commonData.entity;

import com.cloudlead.common.lang.persistence.AbstractIdEntity;

import com.cloudlead.common.persistence.UpdateCheck;

import javax.validation.constraints.Size;
import com.cloudlead.common.lang.annotation.Label;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * ETbImportLog is a Querydsl bean type
 */
@Label("TbImportLog")
public class ETbImportLog extends AbstractIdEntity<String> {

    private static final long serialVersionUID =13154450753327L;    
    @Label("bussinessCode")
    @Size(max=45)
    private String bussinessCode;

    @Label("error")
    @Size(max=500)
    private String error;

    @Label("fileName")
    @Size(max=50)
    private String fileName;

    @NotNull(groups={UpdateCheck.class})
    @Label("id")
    @Size(max=24)
    private String id;

    @Label("importResult")
    @Size(max=45)
    private String importResult;

    @Label("importTime")
    @Size(max=50)
    private String importTime;

    @Label("location")
    @Size(max=45)
    private String location;

    public String getBussinessCode() {
        return bussinessCode;
    }

    public void setBussinessCode(String bussinessCode) {
        this.bussinessCode = bussinessCode;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getImportResult() {
        return importResult;
    }

    public void setImportResult(String importResult) {
        this.importResult = importResult;
    }

    public String getImportTime() {
        return importTime;
    }

    public void setImportTime(String importTime) {
        this.importTime = importTime;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String toString() {
         return String.format("ETbImportLog { bussinessCode : %s,error : %s,fileName : %s,id : %s,importResult : %s,importTime : %s,location : %s }",bussinessCode,error,fileName,id,importResult,importTime,location);
    }

}

